﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace File9
{
    class Program
    {
        static void Main(string[] args)
        {
            StreamWriter sw =File.CreateText("Text.txt");
            //Console.WriteLine("Ведите данные ");
            //string s = Console.ReadLine();
            FileStream qw = File.Create("2.bin");
            for (int i = 0; i < 5; i++)
            {
                Console.Write("Ведите число N{0} = ",i);
                string s = Console.ReadLine();
                sw.Write(s+" ");
            }
            //sw.WriteLine(s);
            //FileInfo f =new  FileInfo("1.bin");
            //f.Create();
            //FileStream fs = f.OpenWrite();
            //BinaryReader br = new BinaryReader(fs);
            //int x = br.ReadInt32();
            //fs.Close();
            //sw.Close();
       }
    }
}
